package com.chen.manager.service;

import com.chen.model.dto.system.SysRoleDto;
import com.chen.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cgj
 * @date 2/12/25 8:37 AM
 */

public interface SysRoleService {
    PageInfo<SysRole> findAllByPage(SysRoleDto sysRoleDto, Integer pageNum, Integer pageSize);

    Integer savaRole(SysRole sysRole);

    void edit(SysRole sysRole);

    void removeSysRole(Integer id);

    List<SysRole> selectAll();

}
